@extends('layouts.home')
@section('head_info')
<title>{{Config::get('web.web_title')}}</title>
<meta name="keywords" content="{{Config::get('web.keywords')}}" />
<meta name="description" content="{{Config::get('web.description')}}" />
@stop
@section('style') 
<link href="{{asset('resources/assets/home/css/style.css')}}" rel="stylesheet">
@stop
@section('content')
<div class="banner">
  <section class="box">
    <ul class="texts">
      <p>打了死结的青春，捆死一颗苍白绝望的灵魂。</p>
      <p>为自己掘一个坟墓来葬心，红尘一梦，不再追寻。</p>
      <p>加了锁的青春，不会再因谁而推开心门。</p>
    </ul>
    <div class="avatar"><a href="#"><span>yovanChan</span></a> </div>
  </section>
</div>
<article>
  <h2 class="title_tj">
    <p>文章<span>推荐</span></p>
  </h2>
  <div class="bloglist left">
    @foreach($data as $art)
    <h3>{{$art->art_title}}</h3>
    <figure><img src="{{url($art->art_thumb)}}"></figure>
    <ul>
      <p>{{$art->art_description}}</p>
      <a title="{{$art->art_title}}" href="{{url('art').'/'.$art->art_id}}" target="_blank" class="readmore">阅读全文>></a>
    </ul>
    <p class="dateview"><span>　{{date('Y-m-d',$art->art_time)}}</span><span>作者：{{$art->art_editor}}</span></p>
    @endforeach
    <div class="page">
      {{$data->links()}}
    </div>
    </div>
  </div>
@stop

